Update js.rst

Clarified where the paginator options are supposed to be declared.