Switched to Jasmine (from Rhino) for javascript unit testing