debugging quiz game ajax call