Shim added for IE to support new CustomEvent()