replaced static html with handlebars templates