updating listing JS and reverse order on calendar