main list pagination & mypage javascript