Update notify.js

Multiple improvements