IE9+ doesn't support new CustomEvent()

Add a check for IE9+ to force us to use 

    document.createEvent("CustomEvent")

as IE9+ does not support 

    new CustomEvent

See 
https://stackoverflow.com/questions/19345392/why-arent-my-parameters-getting-passed-through-to-a-dispatched-event?answertab=active#tab-top