modified jq cookie plugin