Webpage Scripts for PhantomJS