add browser repl support