Hack the brepl js loading to prevent race conditions in app view.