Too implicit and complex to my taste. Why not just do
```
var eventHandler = this.eventHandlers[event[0]]
if (eventHandler) {
```

And then below have `P.eventHandlers = {` ...

Then you don't need the upper case stuff and such, and it also makes clear when looking at an event handler, say, `onStartListening`, that it isn't dead code. Right now at first glance it looks like `onStartListening` is either not used, or a public interface (but a strange public interface).