minor fix on total_reports/index.html javascript