implement Window.cookie.getAll