The impressive part here isn't so much the emulator, but all the rest. A pascal compiler for the Transputer as a teenager in early 90s Mexico? That's brilliantly unlikely.
Looking at many benchmarks I've seen C#, Java, Go approaching the speed of C, but I never have seen Javascript doing that.
Perhaps is because it's dynamically typed and is harder for compiler and VM to optimize the generated code?
It's also that computing capability is that much more powerful today than it was in the 80's and 90's. I mean, up until 2002 or so, processing power close to doubled every other year, and since 2002 it slowed down a bit, but still went from 64mb ram in my computer around 1998 to 64gb in my computer from 6 years ago. Processing capability has gone up just as much. Of course a lot of it went into parallization this past decade and a half, since squeezing more out of each node/generation has been decreasingly fruitful.
Seeing a DOS transpiled into JavaScript is pretty cool. Seeing a DOS written in the 90s by a Spanish speaking native who wanted everything written in Spanish is AWESOME. Being told write AYUDA is great. I love the sense of ownership it implies the author had as a teen. Just super fun.