JS/UIX is a Unix-like operating system which runs in your web browser. It is

written in JavaScript and features a virtual machine, a shell, a virtual 
file system, process-management and of course a text terminal.

http://www.masswerk.at/jsuix/

Click "open terminal" to start running a session of it in your browser.