update js training