Ajax alert for messages.