fixes nav js to correctly add active class