update for new notifications
Update library.js
Merge pull request #33 from barisusakli/patch-6

update for new notifications