CustomEvent like in spec.


https://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-event