Refactored `element.trigger()` into a facade which uses CustomEvent if available & normalizes the Event shape between `CustomEvent` & `document.createEvent("HTMLEvents");`, fixing a reference error of `forEach()`