One Event System, Browser to Message Broker

EventTarget works everywhere but feels like a hack. Event Emitter is node-native, but no pattern matching or introspection. What if there was an event system that covered that, ran on browser + server + mobile, with a relay that crossed process and network boundaries for horizontal scaling?