Stop filtering by input type

Fixes bug in IE7 ('permission denied'). And since we're searching by ID,
we shouldn't need to filter by type anyway.
new method for filtering by input type
condense code
better minified version
Reworked recent chagnes to expose input types as an option