Quite happy to change that but it might not play nicely with old browsers:
http://yuilibrary.com/yui/environments/