changed jquery to get current radio checked

it was using html attributes, which only show the rendered value