I think what the author meant to say is "you can pretend you're not writing javascript, even though you really are."
But once you compile that better, safer, saner language into the untyped, dynamic, poorly designed mess that is javascript, and run it in the volatile environment of a browser, it's still javascript running in a browser.