IE11 reports Object on window.CustomEvent

IE11 seems to be reporting an object on window.CustomEvent causing the polyfill to fail.