Add js for toc generation