enable cors on couchdb
run couchdb through CORS