Added AJAX search and clear search functionality