Fixed DOM manipulation of challenge downloads

Wait to merge until we confer. I definitely want to test as soon as this hits prod. Thanks.