Linting JavaScript code with JSCS

Ironically, this changeset uses 4 indentation, not 2 as it should. Maybe one should use linting tool to catch style errors like these ;)