Add Oauth 2.0 javascript client test