replaced AJAX helper for search functionality with JQuery