A JavaScript 6502 assembler and simulator