lementById(element);
        if (x.style.display === "none") {
            x.style.display = "block";
        } else {
            x.style.display = "none";
        }
    }

    // ONLY for testing purposes
    function sleep(delayMs) {
        return new Promise((resolve, reject) => {
             const timer = setTimeout(resolve, delayMs)
        })
    }

    // Add listeners from HTML
    window.addEventListener("load", (event) => {initFromQS();});
    
    document.getElementById('btnPlayerShowStats').