adding better delete row ajax error handling