Fix-up urls requested inside executed JavaScript to include the base URL of the document. Possibly the worst hack so far done here