GenHar for PhantomJS