Improvement for Ajax request.