Jasmine is a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM.
Jasmine is developed by Pivotal Labs, and has many features like Spies built in.
It also has support for mocking AJAX.