Chip-8 emulator in JavaScript

A few months ago I read a fascinating article on emulation. Ever since then, I knew that I wanted to learn more about this subject and I set out to build my own emulator. I started with the Chip-8 interpreted language in Java, and then ported it to JavaScript. If you have programming experience, this is a simple and fun project that will take you just a couple of days of reading/learning/coding. I will make a more in-depth post about the basics of emulation when I have the time, but for now I'll just leave the finished project here (try INVADERS):

If you have any ideas for improvement, the code is available on github (Java & JavaScript). Feel free to make a pull request with changes!