Fix ajax problems
Merge pull request #91 from mud-turtles-2014/debug_ajax

Fix ajax problems