Move the templates out of .js and use Handlebars