A Chip 8 emulator written in JavaScript