Refactored Gruntfile to be DRYer.