Changing TOC JavaScript.
Adding table of contents script to styleguide.