Update grunt to 0.4.0.
Avoid javascript errors in IE8 (though still fails in IE8.)