Reject 3rd-party script errors from Firefox
Localstorage bugfix in IE running from file://