REfactor gruntfile