jQuery plugin for filtering input values