add CustomEvent Polyfill