ajax and gif end