Fixed various TOC problems, added jquery local