Update Notify.js to use static functions