Due to our support for closure compiler's advanced setting, it won't work to do string manipulation on unquoted object keys (which these are) because they won't have the same structure after minification.

Instead, you'll want to modify SimpleEventPlugin to explicitly list the top-level events which need to be listened to, something along the lines of this:

```
var eventTypes = {
  blur: {
    phasedRegistrationNames: {
      bubbled: keyOf({onBlur: true}),
      captured: keyOf({onBlurCapture: true})
    },
    dependencies: [keyOf({topBlur: null})]
  },
```

Here I'm mixing keys like `topBlur` with ones like `onInput` in the dependencies array, but this shouldn't be a problem; simply check `topLevelTypes[event]` to determine if it's a top-level event. Alternatively, you could create a `topLevelDependencies` property if you prefer.