Add alerts on Ajax errors