A simple JavaScript application to demonstrate the client side OAUTH flow