gruntjs refactor build