Adapting to remarks in PR thread.

https://code.google.com/p/phantomjs/issues/detail?id=1129