Simple code which explain how to HTML5 storage data locally