CustomEvent Constructor polyfill for IE Mobile

This updates the polyfill to support the `CustomEvent` constructor on Internet Explorer Mobile.

IE Mobile includes a `CustomEvent` object, but it is not a function.