Wrap first localStorage access in try/catch
When third-party cookies are blocked and the script runs in an iframe, any reference of
localStorage throws an error
Merge pull request #10 from brianchirls/localStorageTryCatch

localStorage access crashes script in an iframe with third-party cookies blocked