[Kerry] refactor gulpfile & clean code