Clean up links that redirect and define the DOM bits.

This makes the Link Checker happier so we can proceed with WD publication.