added emulation to gulpfile.js