The DOM structure of the page that is retrieved by useragent.js
has changed since the example was last updated, and the selector
for the user agent value no longer exists. This causes a TypeError
to be output to the user when running the example. This updates
the example to use a selector that exists on the page.
https://github.com/ariya/phantomjs/issues/15392
modernizr.js is not modified because it's not our code.
En passant fixes:
* Delete two scripts that depended on a Yahoo service that
appears no longer to exist.
* The PhantomJS website no longer has a leading www.
* One script needed correction to *work* in strict mode.
* One script would only exit if a page loaded successfully.
(There may be other instances of this problem, this is the
one I noticed.)