How to refresh tokens in JS web app, when not using Hosted Login Page?