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

Jira Issue: WP-1146
Merge pull request #32 from ziransun/WP-1146

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