After getting a version of Tiny BASIC running on my emulator, I was scanning around to try to find something else to run. And, of course, when you look, you find all sorts of cool stuff. I happened across this cool page which is an 8080 emulator which is written in Javascript, and runs entirely in the browser. Very neat.
I am sure you know Fabrice Bellard’s PC emulator written in JavaScript that can emulate Linux in the browser.
http://bellard.org/jslinux/
http://bellard.org/jslinux/tech.html