Hide IE 9/10 CustomEvent polyfill from IE8