Removed json version of results from the ajax API. Improved checks for search existen...