Contact form doesn't work on staging

Issue #310
    
- Add html for alert
- Update ajax response to set message
- Add test coverage
please use the shared example to avoid duplicate code.