Not in javascript, no.  Eclipse does it for Java and Zend for PHP.  Would love something similar for javascript.  If it could also tell me what events are on a DOM Element and when it get added... well, I would be in love.