I have a script which allows to save and delete cookies: JsFiddle
Type something in the input field and save. Do this twice or more, now delete the items and refresh. You will see the last deleted item is still there. How is this possible??
ps. You can click the list to delete item
You save list
values2before removing clicked item. Demo: http://jsfiddle.net/V63Px/9/