Added comments and cleaned up indentation in page.js.