fixing YUI global var