Update BBM events to use document

Changing from window since core cordova events use doucment