Use emulated dispatchEvent for EventTarget.prototype.dispatchEvent
Merge pull request #329 from arv/event-propagation

Use emulated dispatchEvent for EventTarget.prototype.dispatchEvent