modify to introduce Web REPL fanctionality