reindent templates, cosmetic changes only
fix invalid html, remove unneeded semicolons from js