cleanup unused html in frontend templates and templates, refs #155