Really the question here is not "what's the harm of JS across the web" but rather what is the specific privacy cost of running JS on a sign in page and what is the security benefit of the same.
The worst case cost of JS on a browser is that you get a drive by download and your endpoint is owned. This seems unlikely on a Google domain.
The other, more normal, case is that a user is concerned about ad tracking. Providing an ad tracker on a sign in page seems pretty lame, and I'd be surprised, again, if Google was doing that.
The security upsides are likely several: anti-automation, anti-phishing, and an opportunity to track state-level adversaries who target users' Google accounts.
I don't know how others weigh these factors, but to me it seems entirely obvious that this is a good idea. Could the blog post have better laid out this case? Sure.
Authoritarian ideology like this is what turned me off the whole "security industry" years ago.
You're arguing against ubiquitous surveillance, when the OP is arguing for company surveillance of the way in which you interact with their login screen, on their site.
You might as well say people shouldn't take precautions swimming around sharks, because it's rare and be surprising if they attacked
You're signing in. That's literally asking them to identify you across pages so you can have access to them.
Signing in is literally asking them to identify you on one page so you can have access to that page.
This is a completely reasonable business decision and trade-off.