Update cookies.js

Just a little fix in the example.