YUI/AMD wrapper patch.