added js to radio button