refactoring grunt tasks