=> {
                    container.scrollTop = container.scrollHeight;
                }, 100);
            }
        }

        class AudioPlayer {
            constructor(updateStatusFn, websocket) {
                this.audioContext = new (window.AudioContext || window.webkitAudioContext)();
                this.audioQueue = [];
                this.isPlaying = false;
                this.shouldInterrupt = false;
                this.log = document.getElementById('logContainer');
                this.upd