I would hate to have to do this for all my demos. Consider using http://handlebarsjs.com/ or similar to keep HTML and JS separate, if possible.