search in main.js