recommit getAccessToken JS API