chore(ngdocs): fixup the docs version switcher
test(docs): don't mock out window unnecessarily