defined with var so it is private
setAttribute in IE8 and above and everywhere else, so no need to use Dom from YUI
Merge pull request #515 from Trott/docblock-update

defined with var so it is private