code: function sdkReady(type, callback) {
          callback = callback || function () {};
          if (!Embedo.defaults.SOURCES[type]) {
            return callback(new Error('unsupported_sdk_type'));
          }
          var counter = 0;
          (function check() {
            counter++;
            if (counter > 15) {
              return callback(new Error(type + ':sdk_not_available'));
            }
            if (window[Embedo.defaults.SOURCES[type].GLOBAL]) {
              return callback(null, window[Embedo.defaults.SOURCES[type].GLOBAL]);
            }
            setTimeout(check, 10 * counter);
          })(type);
        }
docs: @function sdkReady
  Checks when SDK global object is ready
  
  @param {string} type
  @param {function} callback