Re-factored jQuery communication wiring in TDD practice.