add handlebars
refactor to backbone.js