fix bug: js for toc not added