update js work