/ Try to connect to OBS WebSocket on page load
        setTimeout(initOBSWebSocket, 1000); 

        // Function to show session ID modal
        function showSessionModal() {
            var modal = document.getElementById('sessionModal');
            modal.style.display = 'flex';
            document.getElementById('sessionIdInput').focus();
        }
        
        // Function to submit session ID
        function submitSessionId() {
            var sessionIdInput = document.getElementById(