Added guard against undefined cookie from users who have never set any youtube preferences