Fix failing phantomjs test.