added copyright header to loadPage.js