Transpile ES6 generator functions to ES5