Setting document title based on page loaded through Ajax