Fixed bug where editors wasn't properly initialized if the document.domain is set to the same as the current domain on IE.