Project: form
Task (challenging): Class Survey (file 'common/Survey.js') constructor params are: formSelector (string), title (string). Method 'prependQuestion(question)' is used to prepend a 'question.root' to the form and to update contents. Method 'appendQuestion(question)' is used to append a 'question.root' to the form and to update contents. Replace relevant old codes to Survey.