A Javascript CHIP-8 emulator