JsRender: Compile template object from string, and render against data
Data:
var person = {
firstName: "Jeff"
};
Script:
// Compile from string as template object
var template = $.templates( "<tr><td>{{>firstName}}</td></tr>" );
// Render to string
var html = template.render( person );
// Insert as HTML
$( "#details" ).html( html );