More compact and less code duplication.
```javascript
var alwaysTimeout = window.setTimeout(_reportToServer.bind(state));

$.getScript(document.location.protocol + '//www.youtube.com/iframe_api')
  .done(function(script, textStatus) {
     window.setTimeout(_reportToServer.bind(state));
     ... 
  }
  .fail(function(jqxhr, settings, exception) { 
    window.clearTimeout(alwaysTimeout);
    _reportToServer.call(state);
  }
function _reportToServer() {
  if (!this.youtubeApiAvailable) 
    console.log('[Video info]: YouTube API is not available.');
  }
  this.saveState(true, { youtube_is_ok: this.youtubeApiAvailable });
}
```