AJAX functionality now working on main search bar.