function eraseCookie renamed removeCookie