log ajax failures to console instead of alerting

EOM.