JS Emulation library