update how to debug ajax