Refresh token JS

Take it up with the prof, I am just doing as i am told