The formatting here is weird and hard to read.

If you take all my other suggestions, this should be as simple as:

```
var dependencies = EventPluginHub.registrationNameDependencies[registrationName];
```