Исходники и описание https://github.com/carhartl/jquery-cookie