Improve JS browser compatibility

IE <9 does not support Array.every, jQuery.grep is used instead
with a negated version of the Array.every predicate.