api.use nprogress

fixes: Uncaught ReferenceError: NProgress is not defined