IE11 defines a CustomEvent object that is different from all the other browsers' CustomEvent object