fix JS error when flash cookie is not set (new version of jquery.cookie returns undefined when a cookie does not exist)