New JS component for Pagination