Rhino REPL for emergencies.
Smarter line join borrowed from @rejeep.