Mommifier is an example for how to do TDD in JavaScript, including tasking, pairing, refactoring.