Implemented AJAX search.