Just include it in your project:
<script src="microstache.min.js"></script>
Then use Microstache.template
to template a string with the data in an object.
var template = '<h1>{{someData}}</h1>'
var data = {
someData: 'A String',
}
var templated = Microstache.template(template, data) // '<h1>A String</h1>'
Fast and powerful string templating for less than a kB. Can it get simpler than that?
If you need more than just object templating, try Mustache.js