Implement "sweet alert" for ajax errors and confirmations