Check out TIDE 2.0 beta - a JavaScript IDE that runs entirely in the browser.