I'll focus on testing the functionality for this, since it's tricky to see the diff as you say, and since longer-term I want to rewrite this page using Backbone.js.