added javascript to generate toc for plone static pages