document.title helper utility for single page apps