refactoring Gruntfile.coffee