Migrate to grunt 0.4.1

I updated code to compatible with grunt 0.4.1.