extract tools conf to toc_conf.js