AJAX search functionality implemented