Updated code (working PouchDB local version)
build