html object creating moved to TemplateHelper