refactor grunt task for jshint