MIPS simulator written in JavaScript