Update function calls in notifications.js to be compatible with anode ve...

...rsion

Jira Issue: WP-1146