Added a YUI3 implementation.