phantomjs 1.8.2: fix requirement

Closes #346.
phantomjs 1.7.0: use requirement