quick tweeks to clear more old data in js