Why not use https://github.com/WebReflection/event-target?