refactor to use gulpJS