Notification subscription object for javascript events