appLoading = true; window.onload = async () => { try { document.getElementById("loader-text").innerText = "Loading..."; updateLoader(); await plural(); await refresh(); appLoading = false; } catch (e) { document.getElementById("loadfailure").style.display = ""; } } function updateLoader() {}