switches to use Regenerator for Generator -> ES5 transpilation