Minimal fix to make logging work in IE
refactor + comments
Merge pull request #754 from sonatype/ui-logging-fix

[NXCM-4995] Minimal fix to make logging work in IE