Turn on selections stored in location.hash; add hyperlinks to references