could use the onhashchange even here instead and get double duty out of the `<a href="#tabName">tabName</a>` which is a pretty common pattern