gameboy emulator written in JS