vascript/javascript.min.js"></script>
    
    <script>
        // State management
        let cells = new Map();
        let currentCellId = 'cell-1';
        let executionCount = 1;
        let editorInstances = new Map();
        let cellMode = 'edit'; // 'edit' or 'command'
        
        // Initialize CodeMirror for syntax highlighting
        function initializeEditor(cellId) {
            const textarea = document.getElementById(`editor-${cellId}`);
            if (!textarea || editorInstances.has