Corrected js for radio buttons