(null);

            if (lastProgressUpdated) {
              done();
            } else {
              done('lastProgress was never updated');
            }
          }).catch(function(err) {
            done(err);
          });

          server.respond();

          ajax.addEventListener('last-progress-changed', onLastProgressChanged);
        });
      });
    });
  </script>

</body>
</html>
