Я нашел решение проблемы на их github.Похоже, что cordova перезаписывает объект EventTarget, вызывающий проблему.
Размещение следующего кода перед тем, как cordova.js решил ее:
<script>
window.addEventListener = function () {
(window.EventTarget || Window).prototype.addEventListener.apply(this, arguments);
};
window.removeEventListener = function () {
(window.EventTarget || Window).prototype.removeEventListener.apply(this, arguments);
};
document.addEventListener = function () {
(window.EventTarget || Document).prototype.addEventListener.apply(this, arguments);
};
document.removeEventListener = function () {
(window.EventTarget || Document).prototype.removeEventListener.apply(this, arguments);
};
</script>
<script type="text/javascript" src="cordova.js"></script>