I have taken the leap from my comfortable dreamweaver IDE to Netbeans and am missing my code folding options :(
I see with Netbeans you can fold nor
NetBeans 7.3 Beta 2 has improved code-folding for javascript. You can add custom fold comments to block off whatever you want:
//
... code ...
//
More information here.
After a week of use the beta version of NetBeans mysteriously slowed down. I reinstalled it, which is a bit of a chore, but no problems since then. The code folding is very helpful.