some html.tpl cleanup