modify search and menu.js