re-DRYing Gruntfile