refactors gruntfile