Node interface for PhantomJS