update js order