swallow exception

in chrome, this throws an exception
prevent security exception

in ff with the right settings, ec will throw security exception if trying to access localstorage
Merge pull request #54 from parisholley/master

firefox security + chrome bug