Added a possible fix for document.ready on https: sites, in IE.