cleanup downloading of nbtoc.js / html
use heading cells to construct TOC