terminal emulator application like xterm in node and html