Changed organization of functions and headings in the HTML documents.