Access localStorage inside try block

Accessing the `localStorage` property in the Chrome extension throws an error (when you are blocking third-party cookies) causing the extension not to load. Accessing it within the try block fixes it. Possibly solves #6