tweaks per YUI team advice on pull request.

https://github.com/yui/yui3/pull/1502
tweaks per YUI team advice on pull request.

https://github.com/yui/yui3/pull/1502