Fix for logViewer.js