Fix ajax request.