To make yui compatable with therubyrhino