Update js.rst

Clarified where the paginator options are supposed to be declared.
Update js.rst

Fixed terminology
Merge pull request #1675 from schnauss/patch-1

Update js.rst