An Apple II emulator in JavaScript