Handle exception when IE has too tight security settings on window.local...

...Storage

In IE, the application crashes when the security settings don't allow window.localStorage to be accessed