Evaluate code on a URL with PhantomJS