removed console.log from toc js