Nostalgist.js is a JavaScript library that allows you to run emulators of retro consoles within web browsers.