add handlebars and backbone client side functions