added ajax statement to debug output