put js order back to what it was