Work on Ajax request.