More JS fixes for solr suggestions