jQuery’s live() feature is just subset of the livequery plugin, which is much richer. If you use livequery you could do something like..
$('.location').livequery(function() {
// perform selector on $(this) to apply class
});
That will cover existing elements plus any future elements added to the DOM.