updated with handlebars js