Modified toc.js file

Made it cross-engine. Now compatible with rdiscount, redcarpet and
Kramdown.

Removed title from page layout