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