_html: minor style fixes
remove unused code