text filtering

text filtering implemented. however, the onclick isn't working properly
if you use text filtering because it's basing the click index on the old
array