change according to https://github.com/alexscheelmeyer/node-phantom/pull/62#commitcomment-3558352