CB-6954 Share events.js between cordova and plugman

https://issues.apache.org/jira/browse/CB-6954