Improved index.html to demo how to use TDDStateTracker