will be based on this
https://github.com/danbev/aerogear-sync-server/tree/differential-synchronization/js-client