Added recordPage.js