Small fix to value selector to support Zepto

Zepto doesn't support Jquery's custom attribute-not-equal selector. This should also make the script somewhat faster in Jquery, as it can use the native DOM implementation in modern browsers, as per http://api.jquery.com/attribute-not-equal-selector/