Might be nice to do. What version of couchdb must be supported? Looks like in recent versions one can even use CommonJS style `require`.