Move ancient browser text to a function.

I suggest we do this to better accomodate custom `base-*.php` templates that still want to include the check.