IE 10 polyfill for CustomEvent