CB-7735 Fix iOS bridge race condition when using innerHTML on <body>