worked on the notfiy.js script