added error message, when ajax error occurs