Adding AJAX to the io module