Did you try http://www.funcunit.com/ for JavaScript testing?
A few CI tools don't work well with the "requires browser to run test" paradigm.
I understand that means there might be class of errors that the no-browser test would not be able to catch but it's still a huge win.