basic application using pouchdb to sync to remote couchdb in phonegap