moved new notification to events.js