Some utils for webstorage