add checkAndLoadHtmlTemplate() methods.