This TODO comment mark task for a RichFaces developers. RichFaces AJAX components can't work without enclosing h:form componentt - so, this is a place for a test this condition.
Hmm...I see. But that doesn't explain this js error I got:
"options has no properties"