bugfix: the page.stop method does not work in a node js environment