Update tableSearcher.js

minor bug fix