16-Bit VM in JavaScript
francisstokes.wordpress.com
francisstokes.wordpress.com
It seems to be the former, but I'm not well read in VM implementation.
The VM described in the OP could easily fit in any of the three.
I really like this project https://github.com/juchi/gameboy.js/ . I'd like to do something similar myself but more in the coding style I've used on the 16-bit VM.