Fixing document.domain security issues with IE