jquery cookie fix