Add grunt+jshint, fixed jshint issues