Refactors gulpfile.js