use string.Template instead of str.format to make it easier to template files with embedded JavaScript and CSS
fixing broken tests - hadn't checked in updated template