add debug into ajax
Merge pull request #90 from mud-turtles-2014/debug_ajax

add debug into ajax