le Enter key in text inputs
        document.getElementById('textMessage').addEventListener('keypress', function (e) {
            if (e.key === 'Enter') {
                sendTextMessage();
            }
        });

        // Update connection time every second
        updateStats();
    </script>
</body>

</html>