As more and more code goes client-side, it's important to make sure that proper SE principles are still applied.
I'm still using Notepad2 but have to seriously start looking at more advanced(!) IDEs.
At the moment though, I'm happy to make do with stand-alone tools for tasks such as documentation or minimization etc.
For documentation, I've used jsdoc toolkit which you can find here -
http://code.google.com/p/jsdoc-toolkit/To confuse things, the documentation for this documentation-generator is found at the project's previous incarnation -
http://jsdoc.sourceforge.net/The FAQ on how to run it etc is here -
http://code.google.com/p/jsdoc-toolkit/wiki/FAQRun it using the following command -
java -jar jsrun.jar app\run.js -a -t=templates\jsdoc mycode.js