Update notify.js and add timeout to demo