customize checkPaginate() in setupKnowTheKing.js