refactoring grunt file