upgrade jquery cookie