Zombie.js is a lightweight framework for testing client-side JavaScript code in a simulated environment. No browser required.
RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node.