small bug update in page.js lib