Added the CustomEvent constructor API to Android browsers.