see this: http://stackoverflow.com/questions/2010892/storing-objects-in-html5-localstorage and about the stringily: http://www.json.org/js.html