A little tutorial, if you want to access to couchdb directly from Javascript.