order detail update js index