Update HTML with titles, charset, and protocol-relative dependencies