Fixed issue causing waitForSelector() to always timeout.

page.waitForSelector() was never returning because the cb parameter function to page.evaluate() expects two parameters (err and result), and only one was defined.