fix: lexer monkeypatch didn't work in web demo