Oauth2 Authorization Code Example Javascript