Update render order for JS