Added a way to execute dynamic javascripts as part of the notification process