Add js to auto open sections

In Specialist publisher we offer instruction for how to link to a paragraph elsewhere in the page or on another page. This works using anchors. This PR makes sure if a link is clicked going to a paragraph elsewhere on the page, that the containing section is opened, and if on page load the url contains an anchor then the containing section is also opened.