fixing ajax async
Merge pull request #493 from MGhanem/fixing_ajax_sync_game

fixing ajax async