Same for all of these templates: should be kept in separate files and loaded onto the page in `<script type="text/template">` tags.