Fixed multiple JsInput's in problem.

Ticket: [TNL-269] (https://openedx.atlassian.net/browse/TNL-269)

JsInput's do not work unless they are the first input in a problem.
If two JsInput's in the same problem, the first is graded correctly, but the state of the second is not saved or graded.