corrected page.js