Using jQuery to creat a table of contents from a group of paragraphs.