Convert blackberry.app events to cordova

- use document.addEventListener / document.removeEventListener