handle local storage not working with file:// URLs in IE