refactor gruntfile