Update script.js

script for advanced search popup added