javascript/tty.js: quick and dirty automation using term.js