Update openpage.js