Can you change this to `Y.config.doc.URL`? We use `Y.config.doc` to refer to the document since YUI can be configured to use another document (such as an iframe) instead of the global document.