js: Migrate Grunt from 0.3 to 0.4
js: Upgrade when.js from 1.6.1 to 1.8.1