Changing debugging alert to console log for ajax test.