SPaginator - Very simple paginator in JS