Gamagi Javascript Client