Minor changes in PhantomJS script