Added "!" at the end of the line showing in alert().success.