Maybe do `document.title += " - #{measure.get('cms_id')}" if measure?` here?