Experiment with abstracting HTML5 LocalStorage