example init for the new js notifier