update js to remove active class