Generate table of contents from CSS and JS files.