Bug 968110 -[costcontrol] Javascript error when open a notification when the application is closed