Note: do *not* `encodeURIComponent(change.id)` here.  CouchDB likes to see the `/` in the url when you're putting a ddoc, but needs it to be encoded when putting a regular doc with `/` in the _id.