Initial implementation of `paginator` js plugin