cleanup js logs