If you want to edit Javascript inside Eclipse, just install WTP (web tool project), there is one. Edit: you cannot run Javascript from Eclipse, but you can use, for example, Firefox with Venkman or Firebug to run the actual file in the browser.
source
share