better YUI version compare, specifically to support yui@3.10.0