code: function sync() {
      syncDom.setAttribute('data-sync-state', 'syncing');
      var opts = {continuous: true, complete: syncError};
      db.replicate.to(remoteCouch, opts);
      db.replicate.from(remoteCouch, opts);
    }
docs: Initialise a sync with the remote server