JS Notifications for Viewer and Editor