Update Popup.js

add missed variable $win