Register machine implemented in JavaScript (http://en.wikipedia.org/wiki/Register_machine).