Update notifier.js

Wait can be seconds or ms.