PackerJS fix of emulator