Support closing of InAppBrowser on BlackBerry 10