Fixed button event click popup.js