added Page.render.before event.