minor bugfix on script.js. made sure that the multiple choice weight checking works.