moved yui script to notification_popup.js
light refactor