Offline Document Caching using localStorage

We're working on offline access here at Ginkgotree and these changes to the ajax library seem to work pretty well, I'd love to have your feedback.