Learn more about cloning repositories
You have read-only access
factor out duplicated getCookie() js function