Break the logjam with a simple API

Look at OfficeJS, which provides applications
running only in the browser.
They use the jIO library,
which access the online storages
with cross-domain ajax queries (ie, with CORS activated).
See for example the bookmark app.