CustomEvent shim

CustomEvent shim does not support the definition of the parameters.
And the default cancelable and bubble must be false.