Updated resultsPerPage.js