function loadScript(path, filename) {
        var script = d.createElement("script");
        script.src = path + filename;
        if (filename === "hyphenEngine.asm.js") {
            script.addEventListener("load", function listener() {
                H.events.dispatch("engineLoaded", {"msg": "asm"});
            });
        }
        d.head.appendChild(script);
    }
Load script by adding <script>-tag
@param {string} path Where the script is stored
@param {string} filename Filename of the script
@returns {undefined}