phantomjs wrapper must call proper wrapper