Some improvements to indexed.js

 - allow multiple conditions ;
 - add like operator ;
 - code cleanup