Added cookie jquery code