Features/js fix

So that we can select choices, represented by an x, and the text box changes accordingly