Paginator page number, resolves #1383

This fixes #1383. It appears Paginator does not convert the values fed to page into a number before setting them. This is especially important when getting the page number from, say, an `input` element.

This fix simply converts the value gotten from the `input` element into a number.