Revert "YUI and Loader build for latest Gallery build."

This reverts commit cbdcae8ae074c1bd8fdce2e5349224d8a6acb726.