Sets page title to link title

I know this is just a demo script, but I'm using it in production and I changed this line; figured I'd send it your way if you care to adopt it.