Propagate the fragment identifier to the documentation version switcher.
JS linting in documentation base template.