linting notifications.js