function(doc, req) {
   start({
      "headers" : {
          "Content-type": "text/html"
      }
   });
   var Mustache = require("vendor/mustache");
   var x = Mustache.to_html(this.templates.paste, doc);
   return x;
}

function(doc, req) {
   start({
      "Content-type": "text/html; charset='utf-8'"
   });
   var Mustache = require("vendor/mustache");
   Mustache.to_html(this.templates.paste, doc, null, send);
}

Use CouchDB send function when displaying the template