improve variable declaration
improve variable declaration

Co-authored-by: Thomas Steiner <7c4fd7d248e89713274656571c3657f5cf8fb76b@google.com>
GoogleChromeLabs/link-to-text-fragment,GoogleChromeLabs/link-to-text-fragment