Fix report details display. Was broken after some jshint refactoring.