Simple public domain example of using persistent storage with PhoneGap