Relocate doTitles, to run on all page loads