fix page.evaluate script bug