Fixed the way to Ajax the search process