add searchMode param to d3scriptcontroller