fix: Hide the Firefox SecurityError exception when assigning a reference to localStorage.

See https://bugzilla.mozilla.org/show_bug.cgi?id=748620

fixes #3
Merge pull request #7 from shane-tomlinson/issue-3-firefox-cookies-disabled

fix: Hide the Firefox SecurityError exception when assigning a reference to localStorage.