Letting localstore data that is null pass through

Hi, my first attempt at a pull request. When using your library it stopped on compressed having the value null, maybe because a key was read from localstorage that did not exist. I put in a check to see if compressed is null and in that case just let null pass through.