The statement you quoted regarding the JavaScript trademark infringement reads like something a lawyer commissioned to represent Oracle would write, rather than Apple being proactive in enforcing Oracle's trademark.
I base this on the author's repeated use of the phrase "our client's IP".
I base this on the author's repeated use of the phrase "our client's IP".