[CB-3434] [BlackBerry10] Route online/offline events from document to window