Refactored com.blackberry.pim.calendar to use cordova events and exec