Fix document.domain bug in IE < 8;