AJAX saving of manglers