Fixed issue with jquery code on search reset

began investigating character encoding issues for URLs with non-latin characters