Removed duplicate ajax request.