decouple HTML from JS using handlebars