put js in order