Still looking for an answer.
Changing or reassigning to the filter\'s innerHTML successfully redraws the element, but breaks my script, so that\'s out.
innerHTML
Could it be that you're missing " at the end of some elements?