apply bootstrap badge class for last messages;