$.ajax({ url: 'ui/tpl/login.handlebars', context: this, cache: true, success: function(data) { var tpl = Handlebars.compile(data); this.$el.html(tpl(this.model.toJSON())); } });