There are 0 comments in this discussion.
I used the customization menu to set "Css Indent Offset" and "Js Indent Level" to 2 and saved my settings. That finally did the trick.
DO NOT expect something like this to work:
You'll probably still want to do that, but it's not enough to get these modes to work as expected.