v2 of the JS notifier

Working on finishing/testing the backend support, so there may be a few
further tweaks, but this is basically it.