ES6 repl with web page scope