This fails if there’s no `<title>` element: “Uncaught TypeError: Cannot read property 'innerHTML' of undefined”.