Fix for "TypeError: ajaxso is undefined" in Single/Advanced searching