Remove junk code from html template.