Jean dynamic documenttitle

Allow document title to be computed dynamically, implements #363