[CB-3406] InAppBrowser script not enabled in time
(cherry picked from commit ca5a6e4e6c2d968c357d77ce66ca5fcd39cc53d6)