A JavaScript 65816 Microprocessor Emulator