Merged toc, index, config.xml into content.js

... so that the nav components works locally (without setting up a local web server) and also inside CHM (but they're still disabled).

Only one thing is missing: the search function. Lexikos, do you want to integrate your self-created search function alone when it is ready? Or should I help you to finish its development?