script.js typo

pagess => pages