Add in-page TOC via js