Added delay to ajax request.