I would recommend you to use PouchDB, its a similar approach, but in this case you use CouchDB as a database, it can be used offline and it syncs http://pouchdb.com/
This sounds like an example of Path where you can Like something offline, and will sync when you have internet access.
However doesn't solve the "who stored your data" privacy concern.