sending key-click information via socket.io