work = function() {
      setTimeout(function() {
        if (!NProgress.status) return;
        NProgress.trickle();
        work();
      }, Settings.trickleSpeed);
    }
Shows the progress bar.
This is the same as setting the status to 0%, except that it doesn't go backwards.

    NProgress.start();