fix # 7 Introduce jshint checks ?

Added jshint validations to the project. Run `grunt checkStyle` to apply them.

To speed up the process, most of the js files have been reformatted with our usual formatter.