support for repl javascript