Better output for PhantomJS script