added jquery cookie to common js