reorder calendar js