 document.getElementById('status');
  const elProgress = document.getElementById('progress');
  const elImage = document.getElementById('img');

  async function main() {
    elStatus.innerHTML = 'Generating GIF...';

    const IMAGE_URLS =  [
      'http://i.imgur.com/2OO33vX.jpg',
      'http://i.imgur.com/qOwVaSN.png',
      'http://i.imgur.com/Vo5mFZJ.gif'
    ];

    const images = await Promise.all(
      IMAGE_URLS.map(url => load(url, ImageLoader, {image: {type: 'image'}}))
    );

    const gifBuil