);
            const statusDiv = document.getElementById('status');
            
            if (!wasmModule) {
                statusDiv.innerHTML = '<div class="error">Search engine not initialized</div>';
                return;
            }
            
            if (!query) {
                resultsDiv.innerHTML = '';
                statusDiv.textContent = 'Enter a search query to see results.';
                return;
            }
            
            try {
                const startTime = p