An object-oriented JavaScript x86 Emulator