Refactoring gulpfile.js