From the EventTarget interface described here: https://developer.mozilla.org/en-US/docs/Web/API/Event/target

/UPDATE 04/21/16 – this had a bug in the first line of dispatchEvent – updated now.

POC: https://jsfiddle.net/moagrius/avy6fxot/1/