(function(){

  var image = new Image();

  image.onerror = function() {