Oh, you're right! I didn't look closely at the feedback it was producing, just that the final score was correct.
I think it will be really tricky to make this work how it used to.
How many questions like this do you have? If you don't have too many, then I think the best thing is to replace the javascript with a JME marking algorithm. Here's a modified 'mark' note which does what you want:
mark:
apply(base_mark);
switch(
total_score = 2/2,
positive_feedback("Both quadrants are correct."),
total_score = 1/2,
feedback("Only one of your quadrants is correct.")
, // otherwise
negative_feedback("Both of your quadrants are incorrect.")
)