updated js order