Here's the list of Javascript commands recognized by the emulator using ActiveGS.command("name:parameters")
NameDescriptionSample