adding active class to nav via js