Update agxgame.js

latest working version