Implement url check via AJAX