Fixed regenerator runtime require

When storing the require value to global.regeneratorRuntime it overwrites itself with an empty object when it is required multiple times.