Handling of radio boxes in JS improved