Update lib/page.js

Fix for better more exhaustive adding of lightpage to the outside world. This solves issues client side when window is defined but module.exports is preferred (yeah, let's pollute the window namespace then... ;).