coding style + jshint fixes
added jshint check to 'grunt test' command