Add response attribute "type", its color type of message.
Example:
"type" => "text-danger",
If message is error.
*Fix: Error scroll to last message with append.