Fix many issues in LoadPage.js and now it looks like it works fine.