IAIndex.js - call filter() on searchbar click if the value is different from the previous one (handle manually emptied value)