updated from YUI2 to YUI3