Added code to allow Ace editor to send data via AJAX.