update js subnav