Refactoring grunt file