Since it's the same view, I think it'd be more readable to use var self = this here.