added method to JS class, corrected radio button class naming