adds # hrefs for iOS web app  compatibility
preventsDefault for studyChooser links (web app compatibly )