Javascript: decode html

For code that takes the page header text and makes it the document
title, decode html.