cleaned up page.js