escapemodel.escape(attribute) 
 Similar to get, but returns the HTML-escaped version of a model's attribute. If you're interpolating data from the model into HTML, using escape to retrieve attributes will prevent XSS attacks. 
var hacker = new Backbone.Model({
  name: "<script>alert('xss')</script>"
});
alert(hacker.escape('name'));
Please login to continue.