Use actual url of the document for relative assets

We may have been redirected from the one we originally requested