And the fact Oracle didn't sue for trademark infringement on that or TypeScript which is often referred to as JavaScript is probably not going to help Oracle here. But I doubt Oracle cares either way.
Nor did they sue ActionScript (Macromedia Flash's implementation of JavaScript), CoffeeScript (a separate language that compiles to JavaScript, and has a name very much evoking Java).
I don't see any reason why that would matter. The name "actionscript" does not have the word "java" in it.
The relavent part is they didn't sue anyone using the name "javascript". Even if they had a valid trademark (which i doubt) that doesn't prevent anyone from selling a similar product under a different name.
I was replying to that_guy_iain, who pointed out that Oracle didn't sue Microsoft for TypeScript. Notice that TypeScript does not have the word "Java" in it either.
Ecmascript was coined by ECMA International when they published the JS standard just to cover their ass and not get sued by Sun. It was never intended to be a name for the language, and has never been treated as such.
That's right -- Sun refused to donate the JavaScript tm to ECMA (now Ecma), MS jumped in and offered "JScript" which no one wanted, so the standard ended up with the ECMAScript name (still five first letters all capitalized), which also no one wanted.