another attempt at polyfilling ie's CustomEvent