AJAX Support Debugged

Finally turned on working. Response now  works.