$Element.toggle supports optional visible argument
$Element.set and $Element.style accept value as function that has (el, index) arguments
$Element.toggle accepts functor
various jsdoc fixes
jsdoc fixes