Updates for list pagination JS