js issue on radio buttons