modules.define('info-bar', ['i-bem__dom', 'jquery', 'alertifyjs'], function(provide, BEMDOM, $) {

provide(BEMDOM.decl('info-bar', {

    onSetMod: {
        'js': function() {
            this.init();
        },
        'reload': function() {
            this.init();
        }
    },

    init: function() {
        this.clientId = localStorage.getItem('clientId');
        this.token = localStorage.getItem('token');

        if (this.clientId && this.token) {
            this.getInfo();
        }

    },

    getInfo: function() {
        $.ajax({
            url: BEMDOM.url + 'api/client/accounts/' + this.clientId,
            method: 'GET',
            headers: { 'Authorization': this.token }
        })
        .done(this.onAccountSuccess.bind(this))
        .fail(this.onFail.bind(this));
    },

    onAccountSuccess: function(data) {
        if (data.message) {
            this.onFail();
            return;
        }

        $.ajax({
            url: BEMDOM.url + 'api/clients/' + this.clientId,
            method: 'GET',
            headers: { 'Authorization': this.token }
        })
        .done(this.onInfoSuccess.bind(this))
        .fail(this.onInfoFail.bind(this));

        var page = this.findBlockOutside('page');
        this.spin = page.findBlockInside('spin');
        this.spin.delMod('visible');
        page.findBlockInside('main-left').delMod('hide');
        page.findBlockInside('main-right').delMod('hide');
    },

    onFail: function(data) {
        alertify.log('Данные устарели, войдите снова.');

        setTimeout(function() {
            localStorage.removeItem('clientId');
            localStorage.removeItem('token');
            window.location.href = '/';
        }, 1500);
    },

    onInfoSuccess: function(data) {
        var stat = data.isConfirmed ? 'Подтвержденный' : 'Ожидает проверки',
            page = this.findBlockOutside('page'),
            mLeft = page.findBlockInside('main-left');
        this.elem('name')
            .html('Здравствуйте, ' + data.lastName + ' ' + data.firstName + ' ' + data.patronymic);
        this.elem('status').html('<b>Статус аккаунта:</b> ' + stat);

        mLeft.findBlockInside('link')
            .setUrl('http://mammonwebapi.azurewebsites.net/?clientLink=' + data.scoringFormId);

        if (!data.isConfirmed) {
            mLeft.setMod('user', 'inactive');
        } else {
            mLeft.setMod('user', 'active');
        }
    },

    onInfoFail: function(data) {
        alertify.error('Ошибка получения данных');
    }

}));

});

@@ -2205,63 +2205,8 @@
 Url(
-'http://mammonwebapi.azurewebsites.net/?clientLink=' + 
 data

fix url