document title is now dynamic

Thanks to RobertBeeger for the bug.