Your suggestion is good, but I'm pretty sure it poses the same problem for my JavaScript. Thank you though.
WeBWorK Problems
Allow only one submission per question
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 10 posting(s) in 1 day