While looking for a more manageable way to maintain my Mustache templates, I came across the icanhaz, which promotes putting your templates in your DOM using:
<script type='text/html' id='your-template>
// Template in here
</script>
Being a bit of a performance nut, I was nervous about putting my templates into the DOM like this for a couple of reasons: