code: function () {
                      // TODO Use requestAnimationFrame instead of setInterval
                      // https://developer.mozilla.org/en-US/docs/Web/API/window.requestAnimationFrame
                      this.show();
                      var self = this;
                      intervalCounterId = setInterval(function () {
                          if (isNaN(count)) {
                              clearInterval(intervalCounterId);
                              count = 0;
                              self.hide();
                          } else {
                              var remaining = 100 - count;
                              count = count + (0.15 * Math.pow(1 - Math.sqrt(remaining), 2));
                              self.updateCount(count);
                          }
                      }, 200);
                  }
docs: Starts the animation and adds between 0 - 5 percent to loading each 400 milliseconds. Should always be finished with progressbar.complete() to hide it