Update filter.js

Testing a timeout approach for text searching.
It's called clearTimeout...
Added timeout option for searching.
Merge pull request #53 from peterjaric/master

Make text search much more snappy with setTimeout