Updated the chip8.js file