Pass envirnoment variables when running PhantomJS

Fixes /usr/bin/env: node: No such file or directory

Regression introduced by b070626b

A proper fix for #246