I wouldn't say that JavaScript is "perfectly good." For instance, the statement "i=0" declares a global named i, unless there's a "var i" statement in a closer scope. It's a very, very easy mistake to make, and can lead to hours of debugging.
JavaScript is good, but CoffeeScript removes many of its imperfections, as well as offering a far better syntax.