Switched edition form to AJAX