Use routeInfo.caption for document.title when navigating

The caption of a route was never used anywhere. It is now used for
title.