added results/ string to javascript to allow results page to properly display- but it only works on first load