use addEventListener instead of override onradiostatechange evt