Updated JavaScript and Grunt config files