Native persistence for HTML5 iOS apps using Trigger.IO