I made this short screencast for my students to show some simple refactoring techniques on “real” code. The system is Meteor-based, although I don’t ever actually talk about that (if you look closely you’ll see a few withTracker calls here and there).
Anyway, maybe a few of you will find this of interest: