emiting click event socket.io