We also had the same problem at www.rib-software.dk, when searching google I found your post and solved the problem, here it is;
I looked into the code of ts.js, and found that ts.js and YUI are using the same namespaces, namely Y.
What we did was to rename the Y function in ts.js
There is also some other small problems with using (new Y1).getTime() (i just renamed Y to Y1 in ts.js) the correct format is apparently (new Y1).a.getTime()
Hope this helps you
Need any additional help: dcp@rib-software.dk