docs: function getStoredToken (storageLocation) {
  	var token = readCookie(storageLocation);
  	if (!token && (window && window.localStorage || window.sessionStorage)) {
  		token = window.sessionStorage.getItem(storageLocation) || window.localStorage.getItem(storageLocation);
  	}
  	return token;
  }