Refactored grunt files
Fixed jshint error