Make DOM elements editable with changes sent to the server via AJAX