basic2lex example for browser