Back in 1995 web pages were purely static and lacked any sort of dynamic behavior. Netscape had the most popular web browser at the time, Mosaic, and wanted to make the pages dynamic. They then worked with Sun Microsystems, now Oracle, to embed Java in the browser. However, when Brendan Eich was hired, they tasked him with building a language with similar syntax to Java but that was less clunky than existing scripting languages.
The eventual result was something named Mocha, which later became LiveScript and shipped with the beta version of Netscapes’s new browser Navigator.
The confusing naming doesn’t end there.