Render TOC ahead of time.
perf benefit is that it is no longer moved in JS at page load time