update js question