#272 Refactored rendering of page contents: using starting and ending tags instead of containers and HTML scripts