What? Exactly when are cookies not on your local computer? That is sort of the whole point of them - they stay with the browser and user.
when there is a javascript part that sends information remotely to a server, so the information is not really locally stored, and you cannot disable javascript because pages use a lot of java scripts to work.
Even though Javascript can set cookies (which will be visible on the server at next HTTP request), they're still stored on the browser side. This certainly can be used to pass information to the server, but Javascript already has the ability to pass information to the server through direct HTTP requests.