Update access-token.js

Added revoke function to revoke the OAuth2 access_token.