Fixes missing brackets and removes unneeded "Pre 1.2" from the user agent regex ("webOS" already covers that).