'Gruntfile.js' refactor