A MIPS64 simulator coded in JavaScript