These tools exist. Emacs, Vim, Komodo Edit/IDE, ... Visual Studio might even have support for Javascript at this point.