> probably more people are aware of JavaScript than Java at this point
All the same, I probably get as many calls from recruiters to fill Java positions as I do JS positions. I've never used the former, and explaining it is always awkward!
To be frank this is a service to you. No company you want to work at has a recruiter that doesn't understand the difference (a fully AI recruiter would be better than this experience).
I think normal people are actually aware what JS and HTML are. Most people are more tech savvy than we give them credit - or credit they might give themselves.
sometimes we make silly errors for years or decades and no one spots them. if you've been saying you hate java bloat/frameworks/whatever and meaning you hate javascript bloat/frameworks/whatever, people would probably agree with both. no one would be the wiser.