cache accessToken; delete JS parsing boilerplates