yui/yui3 #601 issue

Suggested changed to fix an issues.