Quiz, evaluation and certificate page fixes

Using `Dom.getAncestorByTagName` will be less brittle.