Cleanup themplate and remove doctype support, defaults to html5