fix in js cookie