Fix table of contents js