Changed cookie/domain from undefined to ""