Added jshint to Grunt build and fixed linting errors.