Add beforeNotify callback that can halt notification
Pass notice to beforeNotify instead. Add tests.
Allow multiple beforeNotify handlers to be added, update documentation.
Compile
Tweak readme
javascript formatting for all
Fix indentation