Translate the error message, something like: 
* add in Translations.userMessageMap(): "JavascriptError" , "Error in script: {0} ({1}:{2})"
* NotificationEvent.Builder.newNotification().error("JavascriptError").args(errors.get(0).getMessage(), errors.get(0).getSourceName(), errors.get(0).getLineNumber()).build()