YUI: fix dependency on latest version

This fixes a small dependency issue that messed up YUI's routing, as discussed in #794.