Fix undefined input on keyup event in jquery.tablesearch.js