getting repl working in express mode