update js so nav bar highlights correctly