localStorageの挙動と簡単なラッパー
http://jxck.hatenablog.com/entry/20100821/1282412125