fix client.js
add toLower in search