A client-side Javascript SDK for authenticating with OAuth2 web services and querying their REST API's