Modify doctype and viewport of the HTML templates