added page.on method