improve TestPage.js