update js orders init layout.