 to emulate a complete hook function with <code>Promise.prototype.finally()</code></p>
    <hr>
    <div class="row">
      <div class="col-sm-6">
        <h3>Input</h3>
        <div id="input">
          <img id="image" src="../images/picture.jpg" alt="Picture">
        </div>
      </div>
      <div class="col-sm-6">
        <h3>Output</h3>
        <div id="output"></div>
      </div>
    </div>
  </div>
  <script src="../js/compressor.js"></script>
  <script>
    window.addEventListener('DOMContentLoaded