This and the below references should be window.blackberry.