Move creating the TOC div into snuownd.