set document.title to page title on each page