Consoloid tty module based on term.js and pty.js