Javascript in progress for inputting new questions