node.js script to empty a CouchDB database