Correct way to check if cookie already exists on jquery.cookie 1.4