Add AJAX handling to application clone