Fixed an issue with JS breaking the page in EE 2.6 if loading an external URL from the footer (in the CP).