Update searchPopup.js

Must test