Having some luck testing Javascript code using Python and Rhino. Would use JSUnit or Jasmine, but leveraging Python libs is too tempting.