Sveltify Javascript, add extra pagination.