Add JSCS support.

Also move style checks from JSHint to JSCS.
Remove extra commas.
Fix JSCS issues and make everything more readable and consistent.