changed src attributes from absolute to relative paths.
Removed TOC div.
refactor title input code