Javascript database that replicates with CouchDB inspired by PouchDB