the js-client is almost there, currently in a feature branch here: https://github.com/aerogear/aerogear-js/tree/diff-sync-client