Simple wrapper for local/sessionStorage