Add title element to head to make valid HTML.