add couchdb js file