Is there any way to get the selected values of multiple radiobutton groups in JavaScript with a for or while loop? Every group has the name "radioButton" + id(1, 2