cleaningjs code