Jevshell is a project mainly written in JavaScript, it's free.
A node.js/socket.io shell on the web
This is supposed to be a web-based vt100 (maybe xterm) terminal emulator using node.js and socket.io