diff --git a/app/assets/javascripts/discourse/app/index.html b/app/assets/javascripts/discourse/app/index.html
index 65220326aa9..bd24615dec8 100644
--- a/app/assets/javascripts/discourse/app/index.html
+++ b/app/assets/javascripts/discourse/app/index.html
@@ -27,18 +27,10 @@
-
{{bootstrap-content-for "hidden-login-form"}}
{{bootstrap-content-for "preloaded"}}
+
{{bootstrap-content-for "body-footer"}}
diff --git a/app/assets/javascripts/discourse/public/assets/scripts/start-app.js b/app/assets/javascripts/discourse/public/assets/scripts/start-app.js
new file mode 100644
index 00000000000..0ef18aff86e
--- /dev/null
+++ b/app/assets/javascripts/discourse/public/assets/scripts/start-app.js
@@ -0,0 +1,5 @@
+document.addEventListener("discourse-booted", (e) => {
+ const config = e.detail;
+ const app = require(`${config.modulePrefix}/app`)["default"].create(config);
+ app.start();
+});