An interpreter-based CHIP-8 emulator written in JavaScript