update ReportScript.js