Hi Mohamed,
Why do we need two configuration directives? I guess that instead of verifying whether ErrorReporting is true, we could just verify whether SendErrorReports is different than 'never' to load the js files.
If you confirm my suggestion, I'll make the changes.