Fixing chrome.cookies.getAll() implementation.