AJAX search now works, still need to work out back button rules