Making templates safe with quotes, should eventually clean up and move templates to dom/standalone files