As per another comment I made, it would be better if we could just have a
JS file that we require rather than a template that we parse and then we
don't have to worry about this kind of thing.