localstorage demo using phonegap and pouchdb