did you insert the question text after placing the javascript?
then you replaced the script with your question text
i place my javascript in the help text
You can check the following things (use chrome for that):
1. Start the question and check the javascript console for errors
2. Right Mouse click on the question -> Inspect Element -> search for your script in the source code is it there? if not perhaps you overwrited it
[strike]Further: I noticed that you start the function with two var's - but the function ist defined with three var's, qMultiopt, qArray, prevPage
Perhaps that causes an error[/strike] -> forget that
But again check the console