Added ajax using jQuery to the game