Bug fix in page.js

Bug fix in page.js
Building clean - fixing warnings

Building clean - fixing warnings