implement Mustache.js