Adding a helper 

this.helper('loading', function() {
    this.$element()
        .find('.map-info-panel')
        .html('')
        .removeClass('loaded')
        .addClass('loading');
    return this;
});