Added ajax error messages.