docs: function(address, amount, label, message) {
          var tmpl = ["bitcoin:", address, "?"];
  
          if(amount) {
              tmpl = tmpl.concat(["amount=", encodeURIComponent(amount), "&"]);
          }
  
          if(label) {
              tmpl = tmpl.concat(["label=", encodeURIComponent(label), "&"]);
          }
  
          if(message) {
              tmpl = tmpl.concat(["message=", encodeURIComponent(message), "&"]);
          }
          // Remove prefixing extra
          var lastc = tmpl[tmpl.length-1];
          if(lastc == "&" || lastc == "?") {
              tmpl = tmpl.splice(0, tmpl.length-1);
          }
  
          return tmpl.join("");
      }