Fix problem with jquery cookie url