Launch Mamejs emulator with command mame -listfull, and output the result into a json file.
mame -listfull
Upload a mamejs emulator from your disk or set an emulator url