JavaScript is just a name. The current language's official name, according to the specification defining that language, is ECMAScript. If the trademark is a problem then simply call it by a different name.
Nobody likes "ECMAScript". What a dog's breakfast of a name. Is Webscript already taken? If not I vote for that. I guess those node weirdos who want to write commandline programs using it might complain, but I think we can afford to lose them.
Call it whatever you want. The name you pick is an irrelevant aside. That is why Microsoft used to call it JScript, because the name doesn't matter as long as its not that one protected name.
The language was originally called Mocha, and when it first released to the public in Netscape it was called LiveScript. I recall that changing the name to JavaScript was quite controversial and unpopular at the time among geeks.
So when the geeks got to finally put the open standard out there they had a chance to fix this nonsense and take back the name! And they chose ECMAScript! .... wait they chose WHAT?!?
Brendan Eich, the creator of JavaScript and a co-signatory of this letter, wrote in 2006 that “ECMAScript was always an unwanted trade name that sounds like a skin disease.”
Then this is not a matter of trademark or identity. It is only a matter of marketing. If this is just a matter of trademark my comment remains equally valid. Just use a different name.
Oracle gets no real benefit from the trademark, and getting everyone to stop calling it JavaScript is basically impossible. It would be better for everyone for Oracle to just abandon the trademark.
I don't expect Oracle to actively release the trademark, but it would be better if they did.