Add JSCS support and make style consistent

I open this to get some feedback, but we can always tweak JSCS config later.

Now everything is more readable, especially tests.