"
                return script
            }

            if (hasSupportOfAllRequiredWasmFeatures()) {
                body.appendChild(createScript("kotlin-app-wasm-js.js"))
            } else {
                body.appendChild(createScript("skiko.js"))
                body.appendChild(createScript("kotlin-app-js.js"))
            }
        </script>
        <script type="application/javascript">
            if ("serviceWorker" in navigator) {
                window.addEventListener("load", () => navigato