Clean up
Add debugger error handling for ajax errors
Clean up