added ajax to game requests