gulp task refactoring