I'm sure there's a simpler implementation. The `new Date` bit doesn't serve much of a purpose.

Maybe inspire from this? https://github.com/Modernizr/Modernizr/blob/master/feature-detects/storage/localstorage.js