integrating js notifier