dependency inject render function (defaults to Mustache.render()