e_release.wasm" || path == "dmengine_headless.wasm") {
			path = "{{DEFOLD_BINARY_PREFIX}}.wasm";
		}
		return scriptDirectory + path;
	};

	function load_engine() {
		var engineJS = document.createElement('script');
		engineJS.type = 'text/javascript';
		if (Module['isWASMSupported']) {
		    engineJS.src = '{{DEFOLD_BINARY_PREFIX}}_wasm.js';
		} else {
		    engineJS.src = '{{DEFOLD_BINARY_PREFIX}}_asmjs.js';
		}
		document.head.appendChild(engineJS);
	}

	/* Fullscreen button
	document.getElementById("fu