Fix a bug of sending message with ajax include ";";