a JS implementation of a Ruby quiz, modded to add dropdowns for input