Using the OAuth JavaScript library