fix repl opener for JS