Updated Grunt config, fixed JS compilation bug