Did some weird stuff with ajax

To have event listeners for radio buttons, we put the function in the
success part.