Brackets are not mandatory for one statement only. Good practice but not mandatory
so
if (x) alert("x");
or
if (x)
alert("x");
will work
In your case
if (rbuttons.children[i].value == true) return rbuttons.children[i].text;
is one statement