fixes nav js to correctly add active class
Merge pull request #273 from G5/header-nav-active

fixes nav js to correctly add active class