Double escape the regex, remove document.domain assignment in jquery.iframe-transport