_alert function added to popup.js