Fixing _getCookie()

_getCookie() wasn't returning anything.