made questions/subquestions creatable in JS code alone