 
                if (!searchFunction || !freeFunction || !memory) {
                    throw new Error('Required WASM exports not found');
                }
                
                document.getElementById('status').textContent = 'Search engine ready! Try entering a query above.';
                document.getElementById('searchInput').disabled = false;
                document.getElementById('searchInput').focus();
                
            } catch (error) {
                console.error('Faile