Some refactoring of the gulpfile.