Proste Mustache.js

var rendered = Mustache.render("<b>{{name}}</b>", {name: "Jake"});
document.getElementById("target").innerHTML = rendered;
Javasper