new method add to save js reports.