Simple example click and store an id in cookies