#FEC-1105 + prevent some IE8 versions from crashing when trying to access localStorage