Fixed radio inputs bug, improved JS behaviour and corrected answer in example.rb