cleaning up page.js