proof of concept - editing and sync with couchdb seem to work in both chrome and safari