fix "script" variable scope to global in popup.js
fix "script" variable scope to global in popup.js

with out this change, whenever we receive "RES_SCRIPT_LIST" event, we create new listener.

RedRibbon/SOAK,D2festTeams/SOAK,RedRibbon/SOAK