Added onclick function for smiles in chat.