Emulate a very barebones terminal in Javascript