Cookies are erroring out in JS due to no hostname?