updated javascript to recognize to checkboxes

I went ahead and submitted the patch of code that you suggested. By replacing the code on line 96 with this...

`return this.nodeType === 3 && this.nodeValue.trim() !== '';`

Fixed the issue and allows this extension to work with Symphony 2.5.x.