an exercise in html5 storage