I agree with Angel, I would go further and say that you need to incorporate REST patterns such that your $.sap.require("jquery.sap.storage"); is updated after every AJAX call.
I imagine with the introduction of OData V4's and some of its offline sync capability we will start to see SAP and thirdparty solutions for offline UI5 apps.
JSP