Add grunt task jshint
Fix js to be jshint valid