Implemented superior method of rendering HTML.