re-organize js file and persist exact phrase toggle on shared links