removing yui from the layout, we can rely on global variables instead