Fixed typo, ajax to remove success/failure messages